package org.neframework.webtest.model;

import java.sql.Timestamp;

import com.tmsps.neframework.core.utils.GenerateTools;
import com.tmsps.neframework.jpa.annotation.Id;
import com.tmsps.neframework.jpa.annotation.NotMap;
import com.tmsps.neframework.jpa.annotation.Table;
import com.tmsps.neframework.jpa.model.DbModel;

/**
 * 客户表
 * 
 * @author 冯晓东 398479251
 *
 */
@Table
public class t_s_customer implements DbModel {
	@NotMap
	private static final long serialVersionUID = 1L;
	@Id
	private String kid;
	private int status = 0;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	private String name;// 姓名
	private String sex;// 性别
	private String mobile;// 手机号码
	private String address;// 住宅地址
	private String telephone;// 住宅电话
	private String animal;// 生肖属相
	private String education;// 学历
	private int age;// 本人年龄

	private String ercode;// 身份证号
	private String ercode_addr;// 发证机关
	private String address_old;// 户籍地址
	private String email;// 电子邮箱

	private String qs_name;// 亲属姓名
	private String qs_relation;// 关系
	private String qs_mobile;// 手机号码

	private String qs_other_name;// 其他联系人
	private String qs_other_relation;// 关系
	private String qs_other_mobile;// 手机号码

	private String company;// 公司名称
	private String company_position;// 任职职位
	private String company_telephone;// 公司电话
	private String company_depart;// 所在部门
	private String company_address;// 公司地址

	// =========== get / set () ====================

	public String getKid() {
		return kid;
	}

	public void setKid(String kid) {
		this.kid = kid;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAnimal() {
		return animal;
	}

	public void setAnimal(String animal) {
		this.animal = animal;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getErcode() {
		return ercode;
	}

	public void setErcode(String ercode) {
		this.ercode = ercode;
	}

	public String getErcode_addr() {
		return ercode_addr;
	}

	public void setErcode_addr(String ercode_addr) {
		this.ercode_addr = ercode_addr;
	}

	public String getAddress_old() {
		return address_old;
	}

	public void setAddress_old(String address_old) {
		this.address_old = address_old;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQs_name() {
		return qs_name;
	}

	public void setQs_name(String qs_name) {
		this.qs_name = qs_name;
	}

	public String getQs_relation() {
		return qs_relation;
	}

	public void setQs_relation(String qs_relation) {
		this.qs_relation = qs_relation;
	}

	public String getQs_mobile() {
		return qs_mobile;
	}

	public void setQs_mobile(String qs_mobile) {
		this.qs_mobile = qs_mobile;
	}

	public String getQs_other_name() {
		return qs_other_name;
	}

	public void setQs_other_name(String qs_other_name) {
		this.qs_other_name = qs_other_name;
	}

	public String getQs_other_relation() {
		return qs_other_relation;
	}

	public void setQs_other_relation(String qs_other_relation) {
		this.qs_other_relation = qs_other_relation;
	}

	public String getQs_other_mobile() {
		return qs_other_mobile;
	}

	public void setQs_other_mobile(String qs_other_mobile) {
		this.qs_other_mobile = qs_other_mobile;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getCompany_position() {
		return company_position;
	}

	public void setCompany_position(String company_position) {
		this.company_position = company_position;
	}

	public String getCompany_telephone() {
		return company_telephone;
	}

	public void setCompany_telephone(String company_telephone) {
		this.company_telephone = company_telephone;
	}

	public String getCompany_depart() {
		return company_depart;
	}

	public void setCompany_depart(String company_depart) {
		this.company_depart = company_depart;
	}

	public String getCompany_address() {
		return company_address;
	}

	public void setCompany_address(String company_address) {
		this.company_address = company_address;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public static void main(String[] args) {
		for (int i = 0; i < 100; i++) {
			System.err.println(GenerateTools.getBase58ID());
		}
	}
}
